package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.ChannelDto;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.pojos.WmChannel;

public interface WmchannelService extends IService<WmChannel> {
    /**
     * 查询所有的频道数据
     * @return
     */
    ResponseResult findAll();

    ResponseResult listChannel(ChannelDto dto);

    ResponseResult saveChannel(WmChannel wmChannel);

    ResponseResult deleteById(Integer id);

    ResponseResult updateChannel(WmChannel wmChannel);
}
